Conditions | 1 |
Total Lines | 5 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import { getGlobalStorageProvider } from "./browserApi/storageProvider"; |
||
5 | |||
6 | function storeOptions() { |
||
7 | document.querySelectorAll(OPTION_SELECTOR).forEach(optionElement => { |
||
8 | let optionInputElement = optionElement as HTMLInputElement; |
||
9 | getGlobalStorageProvider().setDataAsBoolean(optionInputElement.id, optionInputElement.checked); |
||
10 | }); |
||
51 | }); |